using System;
using System.Xml.Serialization;

namespace Top.Api.Domain
{
    /// <summary>
    /// AppCustomer Data Structure.
    /// </summary>
    [Serializable]
    public class AppCustomer : TopObject
    {
        /// <summary>
        /// isv为用户开通增量消息服务的时间
        /// </summary>
        [XmlElement("created")]
        public string Created { get; set; }

        /// <summary>
        /// 开通用户的淘宝昵称
        /// </summary>
        [XmlElement("nick")]
        public string Nick { get; set; }

        /// <summary>
        /// 应用用户开通增量消息服务的状态：有两个返回值valid_session和invalid_session。valid_session表示已开通且seesion有效；invalid_session已开通但session失效，此时，无法接收该用户的消息。
        /// </summary>
        [XmlElement("status")]
        public string Status { get; set; }
    }
}
